package com.by.bean;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
/**
 * 订单项;
 * @author : http://www.chiner.pro
 * @date : 2025-4-11
 */
@ApiModel(value = "订单项",description = "")
@TableName("order_item")
@Data
public class OrderItem implements Serializable,Cloneable{
        /** 订单项ID */
        @ApiModelProperty(name = "订单项ID",notes = "")
        @TableId
        private int orderItemId;
        /** 创建时间 */
        @ApiModelProperty(name = "创建时间",notes = "")
        private Date createTime ;
        /** 更新时间 */
        @ApiModelProperty(name = "更新时间",notes = "")
        private Date updateTime ;
        /** 店铺id */
        @ApiModelProperty(name = "店铺id",notes = "")
        private int shopId ;
        /** 订单id */
        @ApiModelProperty(name = "订单id",notes = "")
        private int orderId ;
        /** 分类id */
        @ApiModelProperty(name = "分类id",notes = "")
        private int categoryId ;
        /** 产品ID */
        @ApiModelProperty(name = "产品ID",notes = "")
        private int  spuId ;
        /** 产品SkuID */
        @ApiModelProperty(name = "产品SkuID",notes = "")
        private int  skuId ;
        /** 用户Id */
        @ApiModelProperty(name = "用户Id",notes = "")
        private int userId ;
        /** 购物车产品个数 */
        @ApiModelProperty(name = "购物车产品个数",notes = "")
        private Integer count ;
        /** 产品名称 */
        @ApiModelProperty(name = "产品名称",notes = "")
        private String spuName ;
        /** sku名称 */
        @ApiModelProperty(name = "sku名称",notes = "")
        private String skuName ;
        /** 产品主图片路径 */
        @ApiModelProperty(name = "产品主图片路径",notes = "")
        private String pic ;
        /** 单个orderItem的配送类型3：无需快递 */
        @ApiModelProperty(name = "单个orderItem的配送类型3：无需快递",notes = "")
        private int deliveryType ;
        /** 加入购物车时间 */
        @ApiModelProperty(name = "加入购物车时间",notes = "")
        private Date shopCartTime ;
        /** 产品价格 */
        @ApiModelProperty(name = "产品价格",notes = "")
        private int price ;
        /** 商品总金额 */
        @ApiModelProperty(name = "商品总金额",notes = "")
        private int spuTotalAmount ;

}
